if (CLIENT) then
	
	function drawHCInfo ( )
		if LocalPlayer():GetEyeTraceNoCursor().Entity:IsValid() then
			local hc = LocalPlayer():GetEyeTraceNoCursor().Entity;
			if hc:GetClass() == "npc_headcrab" or hc:GetClass() == "npc_headcrab_fast" or hc:GetClass() == "npc_headcrab_black" then
				if hc:GetNWBool("HC") == true then
					//draw.DrawText("Name: "..hc:GetNWString("HCname").."\n Hunger: "..hc:GetNWInt("HChunger").." Age: "..hc:GetNWInt("HCage"),"ScoreboardText",ScrW()/2,ScrH()/2,Color(255,255,255,255),1)
					draw.DrawText("Name: "..hc:GetNWString("HCname").."\n Energy: "..hc:GetNWInt("HCEnergy").."\n GLP: "..hc:GetNWInt("HCGlucose").." - "..hc:GetNWInt("HCLipids").." - "..hc:GetNWInt("HCProtein").."\n Age: "..hc:GetNWInt("HCage").."\n "..hc:GetNWString("HCNest"),"ScoreboardText",ScrW()/2,ScrH()/2,Color(255,255,255,255),1)
				end
			end
		end
	end

	hook.Add("HUDPaint","HCInfo",drawHCInfo)

end
  
if (CLIENT) then
	
	function drawHCInfo ( )
		if LocalPlayer():GetEyeTraceNoCursor().Entity:IsValid() then
			local hc = LocalPlayer():GetEyeTraceNoCursor().Entity;
			if hc:GetClass() == "npc_antlion" or hc:GetClass() == "npc_antlionguard" then
				if hc:GetNWBool("HC") == true then
					//draw.DrawText("Name: "..hc:GetNWString("HCname").."\n Hunger: "..hc:GetNWInt("HChunger").." Age: "..hc:GetNWInt("HCage"),"ScoreboardText",ScrW()/2,ScrH()/2,Color(255,255,255,255),1)
					draw.DrawText("Name: "..hc:GetNWString("HCname").."\n Energy: "..hc:GetNWInt("HCEnergy").."\n GLP: "..hc:GetNWInt("HCGlucose").." - "..hc:GetNWInt("HCLipids").." - "..hc:GetNWInt("HCProtein").."\n Age: "..hc:GetNWInt("HCage").."\n "..hc:GetNWString("HCNest"),"ScoreboardText",ScrW()/2,ScrH()/2,Color(255,255,255,255),1)
				end
			end
		end
	end

	hook.Add("HUDPaint","ALInfo",drawHCInfo)

end
  